home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 October / CHIP Turkiye Ekim 2000.iso / prog / naps / 04 / setup.exe / Gnucleus / PrefConnect.h < prev    next >
C/C++ Source or Header  |  2000-06-24  |  2KB  |  76 lines

  1. #if !defined(AFX_PREFCONNECT_H__196C5E21_37F3_11D4_ACF2_00A0CC533D52__INCLUDED_)
  2. #define AFX_PREFCONNECT_H__196C5E21_37F3_11D4_ACF2_00A0CC533D52__INCLUDED_
  3.  
  4. #if _MSC_VER > 1000
  5. #pragma once
  6. #endif // _MSC_VER > 1000
  7. // PrefConnect.h : header file
  8. //
  9.  
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CPrefConnect dialog
  12.  
  13. class CPrefConnect : public CPropertyPage
  14. {
  15.     DECLARE_DYNCREATE(CPrefConnect)
  16.  
  17. // Construction
  18. public:
  19.     CPrefConnect();
  20.     ~CPrefConnect();
  21.  
  22. // Dialog Data
  23.     //{{AFX_DATA(CPrefConnect)
  24.     enum { IDD = IDD_PREF_CONNECT };
  25.     CButton    m_chkDrop;
  26.     CEdit    m_ebTimeout;
  27.     CEdit    m_ebKeep;
  28.     CButton    m_chkKeep;
  29.     CEdit    m_ebIP;
  30.     CButton    m_chkIP;
  31.     CButton    m_chkSpeed;
  32.     CButton    m_chkPort;
  33.     CEdit    m_ebPort;
  34.     CComboBox    m_cmbSpeed;
  35.     //}}AFX_DATA
  36.  
  37.  
  38. // Overrides
  39.     // ClassWizard generate virtual function overrides
  40.     //{{AFX_VIRTUAL(CPrefConnect)
  41.     public:
  42.     virtual BOOL OnApply();
  43.     protected:
  44.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  45.     //}}AFX_VIRTUAL
  46.  
  47. // Implementation
  48. protected:
  49.     DWORD GetSpeedinBytes(CString);
  50.     CString GetSpeedString(DWORD _dw_speed);
  51.  
  52.     CGnucleusDoc *Doc;
  53.  
  54.     // Generated message map functions
  55.     //{{AFX_MSG(CPrefConnect)
  56.     afx_msg void OnCheckIncomingPort();
  57.     afx_msg void OnChangeEditIncomingPort();
  58.     afx_msg void OnCheckSpeed();
  59.     afx_msg void OnEditchangeComboSpeed();
  60.     afx_msg void OnCheckIp();
  61.     afx_msg void OnChangeEditIp();
  62.     afx_msg void OnCheckKeepConnect();
  63.     afx_msg void OnChangeEditKeep();
  64.     afx_msg void OnChangeEditTimeout();
  65.     afx_msg void OnCheckDrop();
  66.     virtual BOOL OnInitDialog();
  67.     //}}AFX_MSG
  68.     DECLARE_MESSAGE_MAP()
  69.  
  70. };
  71.  
  72. //{{AFX_INSERT_LOCATION}}
  73. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  74.  
  75. #endif // !defined(AFX_PREFCONNECT_H__196C5E21_37F3_11D4_ACF2_00A0CC533D52__INCLUDED_)
  76.